- Create a view: type: comment
- Add "content" relationship
- Add "Content: Link to Content" field, set "Output the URL as text" (hidden)
- Add "Comment ID" field (hidden)
- Add "Comment: Title" field
- Set "Comment: Title" to "Rewrite results". Use "Output this field as a custom link"
- Set "Link path" to {{ view_node }}#comment-{{ cid }}