multi line comment in visual studio code example

Example 1: how to comment multiple lines in vscode

********** For Windows **********
-> How to comment a block?

CTRL + K + CTRL + C 

-> How to uncomment a block?

CTRL + K + CTRL + U

Example 2: multiline comment in visual studio code shortcut

shift + alt + A

Example 3: visual studio code comment out multiple lines

mac: command + shift + /

Example 4: visual studio comment out multiple lines

Ctrl+K+C
Ctrl+K+U

Example 5: visual basic multiline comment

'Highlight lines to comment
'Press Ctrl + K, then Crtl + C
'To uncomment: press Ctrl + K, then Ctrl + U

Tags:

Misc Example