JSD - API v3 - Attach a file into a comment

Hi,

Is it possible to attach a file into a comment (or internal note) through an API? Only thing I’ve seen is attaching files to an issue (https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-attachments/#api-rest-api-3-issue-issueidorkey-attachments-post) but not to a comment.

Thanks,
Juan