Python does not have a specific syntax for multiline comments, but you can achieve this using:
- Consecutive
#
Symbols:
Use#
at the beginning of each line. - Triple Quotes:
Use triple single ('''
) or double ("""
) quotes for documentation or temporary comments.
Note: Triple quotes are not true comments; they create a string, which is ignored if not assigned or used. Use #
for actual comments.