[DDMD] Const-ify addComment