comment a block in visual studio code code example Example 1: visual studio code uncomment multiple lines shift+alt+A Example 2: visual studio comment out multiple lines Ctrl+K+C Ctrl+K+U