As reported in https://de.wikipedia.org/wiki/Wikipedia:Technik/Text/Edit/VisualEditor/R%C3%BCckmeldungen#Kommentare_wurden_ungewollt_entfernt :
Under certain, very specific circumstances VE automatically removes HTML comments from wikitext in references:
https://de.wikipedia.org/w/index.php?title=Grombach_(Walzbach)&diff=prev&oldid=197381633
https://de.wikipedia.org/w/index.php?title=Pfinz&diff=191962499&oldid=191895202
After many tests we were able to reproduce the problem:
https://de.wikipedia.org/w/index.php?title=Benutzer%3ATkarcher%2FSpielwiese&type=revision&diff=197696937&oldid=197696916
It only occurs when
- VE is used (no problem in NWE or any other editor),
- there's "untidy" HTML code like redundant white spaces to be cleaned up, and
- there's an ISBN number included.