That’s interesting. I’ll share this with our engineering team to get their thoughts, but in the interim you can use the hexadecimal code to ensure syntax highlighting functions as desired.
As @Ludwig said, just convert it into “Unicode escape sequence” i usually doing it with ChatGPT. All special characters should be treated same way with n8n expression. including Emojis.