I installed bnf.vim (highlights BNF grammar files).
Suppose I have a comment in my code:
/* := | h := a | b |
You can use my SyntaxRange plugin for that.
Either explicitly assign the range, e.g.
:10,20SyntaxInclude bnf
or automatically based on the delimiting patterns:
:call SyntaxRange#Include('', '', 'bnf')