I have developed a client application that lets me edit the Jenkins job config XML file and push the change to the Jenkins server. It works great and I'm happy that Jenkins provides me with APIs that lets me do something like this.
Now here is problem that I would like to solve.
When I have XML comments and upload the change to the Jenkins server, it retains the XML comments. When I download the config XML, it's there. But when I access the job from the UI and hit save button, Jenkins removes the XML comment. It would be really great if I could retain the XML comment even on save from the UI.