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