单行注释
第一种方式,进行注释一行的代码,在编辑中进行选中需要的代码的一行。 ctrl + / codre 选项卡 Comment with line Comment

多行注释 ctrl shift +/ code 选项卡 Comment with Block Comment
Android Studio代码注释方式
最新推荐文章于 2025-10-27 23:47:26 发布
博客介绍了在Android Studio中进行代码注释的方法。包括单行注释,可选中一行代码后用ctrl + /或在code选项卡选Comment with line Comment;多行注释则使用ctrl shift +/或在code选项卡选Comment with Block Comment。
1万+

被折叠的 条评论
为什么被折叠?



