Visual Studio批量删除所有注释 HelloBug_ 2022-02-23 512 阅读1分钟 ——上方工具栏—搜索—在文件中替换(或者Command+Shift+H) ——勾选上正则表达式搜索,查找 //.*\n,替换为空即可