How do you comment multiple lines?
To comment out multiple code lines right-click and select Source > Add Block Comment. ( CTRL+SHIFT+/ )
What is the shortcut to comment out multiple lines in Python?
To comment out multiple lines in Python, you can prepend each line with a hash ( # ). With this approach, you're technically making multiple single-line comments. The real workaround for making multi-line comments in Python is by using docstrings.