Add document comments to each diagram