When I add a comment in a entity YaML file and afterwards change the file using the form editor, the comment disappears. I guess this is due to the serialization, and that the comment is not part of the in memory model.