Setting -> Editor -> Code Style -> XML

在这里插入图片描述
取消勾选 Line comment at first column
这样我们在使用ctrl + / 快速注释时,就可以让注释符号紧贴注释内容,不出现空格。

更多推荐