用vs自带的正则替换工具

按ctrl+H 选上正则表达式

Find what: //.*\n

Replace with: (空)


点replace all