comment all selected lines visual studio code code example Example: visual studio comment selected lines Ctrl+K+C - Comment Ctrl+K+U - Uncomment