Add support for comments to grid output