Archives: Add comments in order to avoid problems with code that is related to archives
Add some comments to the source code in order to avoid problems in the future.
Test plan: The one described in the task Solve some bugs related to archives, remove some duplicated code.
Differential Revision: https://phabricator.kde.org/D28412