Since 2012 I'm using a userscript I wrote to inject a button to each github code comment to open my editor at the file-and-line.
It feels strange this is not something more people want, but I haven't seen any other project that addresses the same, so I'm still kinda maintaining it: