Comments in python is like a notes, that will helpful when we revisit the code or some other coder will understand what you have written.

It is always a good habit to write the comments in your codes.

The Hash (#) symbol is used before the line to mark as comment.

Ex:

#Following print function prints a statement Hello World!
print("Hello World!")

 The first line in the above code is a comment.

Unfortunately, there is no multiline comment representation in python. We can use only single line comments for multi line comments too.

However, there is another way called triple quote ''' this is not a multi line comment''' used for documentation purpose called docstring.

Ex:

''' DocString goes here, 
it can be multi line'''