Ah, that's a recent addition. Thanks for the pointer. Does it work for bugs? The post mentions pull request comments.
Yes. It works on issues too.
I wonder why they have restriction based on file extension in place, it's just inconvenient that you have to rename .patch to .txt only for the UI to accept it.