internal/toml-test/tests/valid/inline-table/newline-comment.toml
raw| 1 | # Identical to newline.toml, but with comments that shouldn't affect the |
| 2 | # results. |
| 3 | |
| 4 | trailing-comma-1 = {#comment |
| 5 | # comment |
| 6 | c = 1,#comment |
| 7 | #comment |
| 8 | }#comment |
| 9 | trailing-comma-2 = { c = 1, }#comment |
| 10 | |
| 11 | tbl-1 = {#comment |
| 12 | hello = "world",#comment |
| 13 | 1 = 2,#comment |
| 14 | arr = [1,#comment |
| 15 | 2,#comment |
| 16 | 3,#comment |
| 17 | ],#comment |
| 18 | tbl = {#comment |
| 19 | k = 1,#comment |
| 20 | }#comment |
| 21 | }#comment |
| 22 | |
| 23 | tbl-2 = {#comment |
| 24 | k = """ |
| 25 | Hello |
| 26 | """#comment |
| 27 | }#comment |