how to do mass comment Visual Studio code example Example 1: visual studio code uncomment multiple lines shift+alt+A Example 2: comment out code visual studio Ctrl+K+C Ctrl+K+U