cue export comments.cue | |
cmp stdout expect-stdout-cue | |
-- frontmatter.toml -- | |
title = "Comments" | |
description = "" | |
-- text.md -- | |
CUE supports C-style line comments. | |
-- comments.cue -- | |
// a doc comment | |
one: 1 | |
two: 2 // a line comment | |
-- expect-stdout-cue -- | |
{ | |
"one": 1, | |
"two": 2 | |
} |