直接上代码 void main(List<String> args) { // 单行注释 /** * 多行注释 */ /** * /** * 注释嵌套 在我的记忆中 ios 的 swift 也可以进行多行注释 js 等是不可以进行多行注释的 * */ */ print("注释"); }