quick comment in visual studio code example Example 1: comment out code visual studio Ctrl+K+C Ctrl+K+U Example 2: comment a line in visual studio Ctrl+K, Crtl+C