also I think comments can indeed have semantic meaning. especially as julia has macros, it may make sense to but semantic information inside comments, why not?
Semantic meaning for code. Comments by design don’t affect code at all, so they were always ignored in expressions in any language. Hypothetically I suppose it could be incorporated into expressions and then ignored later, but there’s no real reason to do that because we’re supposed to read source code. In fact it would bloat the size of expressions only to allow a secondary place to read comments.
Sorry freudian slip. JuliaSyntax.jl or CSTParser.jl
It sounds like you want to implement something like a pragma?
You can just add an argument to the macro to pass in additional information rather than depend on comments.