Const-ify addComment
Merge pull request #2719 from yebblies/addcommentconst

[DDMD] Const-ify addComment