Highlighting for custom blockComment token

Hi! I use @codemirror/lang-html for my editor, but actually there is mdx content in editor. So, i use this code to redefine comment’s tokens.

    htmlLanguage.data.of({
      commentTokens: { block: { open: "{/*", close: "*/}" } },
    })

But, as I see, my comments are without highlighting, because it is on @lezer-parser/html side.
Can you help me, how can I highlight my custom comments?

You can’t—at least, not within the HTML parser. Lezer parsers are not really extendable at run time.

It looks like MDX is very different from HTML, so you’ll probably need a custom parser anyway.