Replace comment.permalink by entity.comment.canonical