Get ssh keys without comment

Hi
Is there a way to get the ssh keys of a user without there comment fields?
For exmaple if I curl the the following github url, it returns a users ssh keys without the comment field:
https://github.com/username.keys
This gives me only the ssh keys and not there comment

With https://gitlab.example.com/username.keys this return:
ssh-rsa mykey…== Hans Example (gitlab.example.com)