Inline Comment

Python 2.7
# This is a comment

# This syntax can only have one line of text

Anything after # on the line is considered a comment and won't be executed.


Multiline Comment

Python 2.7
    This is a multiline comment.
    You can have as many lines as you 
    want here.

There is no specific multiline comment syntax in Python.

You can use multiline string (triple quotes ''') without assigning it to any variables to mimic multiline comments.