go-up
go-up copied to clipboard
Allow same line comments
Awesome project, simple and useful!
What doesn't work are comments at the end of a line, example:
db.port=8080 # this is some port
Of course, this would also mean that values may not contain hashtag. Maybe an option for the reader can be set whether to enable or disable this same-line comments feature?
@salim7 You are proposing a feature that I have never thought about. I am not against it, but from my point of view, whole-line comments are more common and more clear. Anyway, feel free to send a PR for supporting that style of comments with a flag and I'll evaluate it for sure.