how to comment out multiple lines of code in pycharm. #You just keep using "#" symbol to comment each line out. ''' shift + tab. Multi-line uncomment. how to uncomment multiple lines in pycharm Source: progr.interplanety.org. H... multiple lines Highlight/ select the lines you want indented, then press TAB as often as needed until they reach the proper indent level. 1. Shortcut to Comment out Multiple Lines in While the other answers got it right when it comes to add comments, in my case only the following worked. You can also use CTRL+ALT+I to auto-indent the selection. To comment out multiple code lines right-click and select Source > Add Block Comment. You can remove spaces with SHIFT TAB . by | paternalistic leadership advantages and disadvantages | types advantages and limitations of factorial research design | paternalistic leadership advantages and disadvantages | types advantages and … ( CTRL+SHIFT+/ ) How do you comment and uncomment multiple lines in Python? This feature also works with all languages supported by PyCharm such as Python, HTML, JavaScript, CSS and more. This is a setting you can change and define in "Settings". shortcut to comment multiple lines in python pycharm PyCharm] Comment and uncomment lines of View another examples Add Own solution. Example 1: python comment multiple lines. The recommended way to comment out multiple lines of code in Python is to use consecutive # single-line comments. The most straight-forward way to comment out a block of code in Python is to use the # character. Phoenix Logan 40440 points. multiple lines Linuxteaching | comment pycharm