'Would like QSettings to preserves comments in settings file

Currently QSettings library don't preserve comments in the settings file. Is there a feasible way to preserve comments using QSettings?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source