If you're using the Jira web interface, you can manually link an attachment to a comment by mentioning it in the comment text.
However, when working with the SDK, I haven't found a direct way to attach a file to a comment. :(
While you can upload attachments to an issue, I don't know how to do it associating them with a specific comment.
Look at the attachment to better understand what I want to do via SDK. Many thanks in advance!!
farmas / atlassian.net-sdk / docs / how-to-use-the-sdk.md — Bitbucke