I think that your problem lies elsewhere. Your BNFC declaration of comments seems OK (the same as in Javalette.cf) and that should be exactly what's needed to reject bad001.jl.
Are other syntactically illegal files, as e.g. bad002.jl, rejected by your compiler?
Björn