how to comment 2017 visual studio code example Example: comment highlighted text visual studio ctrl+k+c Will comment out the selected chunk of code in VS Code.