14.2. TOML Comments

  • TOML's comment is Python's comment (ignored by the parser)

  • Comments can be single-line, inline, or multiline.

  • Comments are denoted by the # character, and they can be placed anywhere in the TOML file.

14.2.1. Single-Line Comments

# This is a single-line comment

14.2.2. Inline Comments

name = "Alice"  # This is an inline comment

14.2.3. Multiline Comments

# First line of comment
# Second line of comment
# Third line of comment