If I would like to write a comment on a post shared using a link to Instagram - do I need to have an Instagram account and write the comment in Instagram?

I’ve played around and answered my own question! Some posts don’t allow a comment but often this can be rectified by signing back in.