In the XML configuration file, you can add comments to better understand the configuration you made. During upload, comments are not imported into the DB and so never exported …
I think that during deployment, some file minification occurs which removes comments, whitespace, and other unnecessary elements and this is why during the export they are removed.