If you aren't opposed to a plugin, I really like vim-commentary by tpope, for this! Its language aware so it can use the correct comment for the correct language!
With this installed you can do gcc to toggle the comment on a single line, and to do multiple you can select them in visual mode as above, and go gc to either comment or uncomment the lines!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
If you aren't opposed to a plugin, I really like
vim-commentaryby tpope, for this! Its language aware so it can use the correct comment for the correct language!github.com/tpope/vim-commentary
With this installed you can do
gccto toggle the comment on a single line, and to do multiple you can select them in visual mode as above, and gogcto either comment or uncomment the lines!