Fix YAML comment prefix causing a NPE when saving the configuration.