visual studio code block comment python code example Example: visual studio comment out block Click to copyctrl+k+c Will comment out the selected chunk of code in VS Code.