1 | initial version |
To leave comments on multiple lines in Visual Studio Code, use the block comment feature by following these steps:
Highlight the lines that you want to comment.
Press and hold Shift
+ Alt
and then press A
.
The selected lines will be wrapped in a block comment.
Type your comment text.
Press Enter
to create a new line within the block comment, if needed.
Press Shift
+ Alt
+ A
again to remove the block comment when you are finished.