Comment line

VS Code keyboard shortcut

Ctrl + /

Press Ctrl + / to comment line.

Practice this shortcut All VS Code shortcuts