Ademir Alijagic
This is how you comment out any type of code in visual studio code.
Highlight the code you want to be commented out.
To create line comments hold down Ctrl and hit K, followed by C.
To remove line comments hold down Ctrl and hit K, followed by U.
To create block comments hold down Shift and Alt, and hit A. Repeat the same shortcut to remove the block comments.
To create line comments hold down Cmd, and hit K, followed by C.
To remove line comments hold down Cmd, and hit K, followed by U.
To create block comments hold down Shift and Option, and hit A. Repeat the same shortcut to remove the block comments.
JavaScript Consultant | Frontend | Fullstack Developer