Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add single-line comments #1

Closed
TyOverby opened this issue May 31, 2015 · 2 comments
Closed

Add single-line comments #1

TyOverby opened this issue May 31, 2015 · 2 comments

Comments

@TyOverby
Copy link

My recommendation is to use the # character to begin a single-line comment.

These can be a killer feature in any human-readable data format.

@kvark
Copy link
Collaborator

kvark commented May 31, 2015

Why do you think # is better than //?

@TyOverby
Copy link
Author

Mostly because it has a precedent in other json-like data-formats like CSON and TOML.

@torkleyy torkleyy mentioned this issue Aug 2, 2017
bors bot added a commit that referenced this issue Aug 2, 2017
28: Add comments r=kvark

Allows for single-line comments starting with `//`.

Fixes #1
@bors bors bot closed this as completed in #28 Aug 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants