在2~50行首添加//号注释
:2,50 s/^/#/g
在2~50行首删除//号
:2,50 s/^#//g
参考来源:
https://www.cnblogs.com/Dennis-mi/articles/5939635.html