how to comment out multiple lines of code python code example
Example 1: python comment multiple lines
#There is no way to comment multiple lines in Python.
#You just keep using "#" symbol to comment each line out.
'''
Technically you could also use triple single quotation
marks like so, but this formatting does not count
as "true" source code comments that are removed by
a Python parser.
'''
Example 2: multiple comment line in python
'''
This is a multiline
comment.
'''