swift 注释使用

495 阅读1分钟

1.单行注释

//哈哈

2.多行注释

/*
 哈哈哈
*/

3.多行嵌套注释

 /* 哈哈
 /* 哈哈
 */
 */

4.markup语法注释(类似markdown)(仅playground使用)

写好注释后渲染一下即可