...

Text file src/github.com/BurntSushi/toml/internal/toml-test/tests/valid/comment/everywhere.toml

Documentation: github.com/BurntSushi/toml/internal/toml-test/tests/valid/comment

     1# Top comment.
     2  # Top comment.
     3# Top comment.
     4
     5# [no-extraneous-groups-please]
     6
     7[group] # Comment
     8answer = 42 # Comment
     9# no-extraneous-keys-please = 999
    10# Inbetween comment.
    11more = [ # Comment
    12  # What about multiple # comments?
    13  # Can you handle it?
    14  #
    15          # Evil.
    16# Evil.
    17  42, 42, # Comments within arrays are fun.
    18  # What about multiple # comments?
    19  # Can you handle it?
    20  #
    21          # Evil.
    22# Evil.
    23# ] Did I fool you?
    24] # Hopefully not.
    25
    26# Make sure the space between the datetime and "#" isn't lexed.
    27dt = 1979-05-27T07:32:12-07:00  # c
    28d = 1979-05-27 # Comment

View as plain text