Visual Studio Code
Toggle a line’s comment state
In Visual Studio Code this is toggle a line's comment state. It applies here: code editor.
Where it works: Code editor
Every documented variant
| System | Environment | Keys |
|---|---|---|
| Mac | Desktop app | Cmd/ |
| Windows | Desktop app | Ctrl/ |
Where this comes from
Visual Studio Code key bindings
Documentation checked on 2026-09-11. That is a documentation review, not a test run inside the application.