Shortcut to comment multiple python-lines in vscode: first mark all lines you want to comment then: to comment multiple lines: ctrl + K then ctrl + C to uncomment multiple lines: ctrl + K then ctrl + U