Const-ify the ddoc code
Merge pull request #2718 from yebblies/ddocconst

[DDMD] Const-ify the ddoc code
Const-ify addComment
Merge pull request #2719 from yebblies/addcommentconst

[DDMD] Const-ify addComment
sjklfh