- Comments are the lines that are used to make your code more readable.
- Comment lines are mainly used for documentation purposes to make the readers understand the source code.
- These are the lines skipped during the program's execution by the compilers and the interpreters.
- Sometimes, comments can also serve to prevent the execution of a line when testing code.
- There are three types of comments in python.
- Single line comments
- Multi-line comments
- Docstring comments