visual studio comment line code example
Example 1: visual studio code uncomment multiple lines
shift+alt+A
Example 2: visual studio comment out block
ctrl+k+c Will comment out the selected chunk of code in VS Code.
Example 3: visual studio comment out multiple lines
Ctrl+K+C
Ctrl+K+U
Example 4: comment a line in visual studio
Ctrl+K, Crtl+C