comment out entire section visual studio code code example
Example 1: comment out code visual studio
Ctrl+K+C
Ctrl+K+U
Example 2: how to set section of code in comment visual studio
Comment Code Block Ctrl+K+C
undo Comment Code Block Ctrl+K+U
Ctrl+K+C
Ctrl+K+U
Comment Code Block Ctrl+K+C
undo Comment Code Block Ctrl+K+U