blob: 5acb4ec75e2d8a46e9b17b6f4f8d3a776a23fc22 [file] [log] [blame] [view]
[TOC](Readme.md) [Prev](foldany.md) [Next](numberlit.md)
_JSON Sugar and other Goodness_
# Comments
CUE supports C-style block and line comments.
<!-- CUE editor -->
_comments.cue:_
```
// whole numbers
one: 1
two: 2
/* fractions
*/
"two-and-a-half": 2.5
```
<!-- JSON result -->
`$ cue export comments.cue`
```json
{
"one": 1,
"two": 2,
"two-and-a-half": 2.5
}
```