Is there some reason yan’t you use just U+00A0 `NO-BREAK SPACE` for that trailing space?  That should work in comments, too.

Is there some reason you can't just use the Unicode character U+00A0 (`NO-BREAK SPACE`) for that trailing space? It should work in comments too. To type the actual character on Windows, you can use the key combination <kbd>ALT</kbd>+<kbd>0</kbd><kbd>1</kbd><kbd>6</kbd><kbd>0</kbd>.

Here's how it looks: `<a `