Bug: the HTML source view introduced in Anki 2.1.45 removes HTML comments from beginning of fields

(Initially reported this in beta testing regarding 2.1.50, but now noticed this is the case since 2.1.45)

As the title says, the HTML source view introduced in 2.1.45 just by opening/closing it edits card contents. Specifically HTML comments at the start of a field are removed.

A card as follows will just stay as is:
1643489284

But for a card like this the HTML comment disappears as soon as the cursor leaves the window:
1643489365
1643489384

Added to https://github.com/ankitects/anki/issues/1644