Use the # symbol.
#
# This is a single-line comment x = 5 # This is an inline comment
Use triple quotes (''' or """).
'''
"""
""" This is a multi-line comment """ x = 5