shortcut for commenting out code visual studio code code example Example: comment out code visual studio Ctrl+K+C Ctrl+K+U