how to comment particular code in vscode 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