The string "--" is not permitted within comments

Thanks for reporting. I submitted a new issue to the tracker: https://github.com/bardsoftware/ganttproject/issues/2032