How can you comment on a post, posted by a different user?
Use the search functionality to identify a user. When you visit the specific users home page, you may comment on a post made by that user, by clicking on 'Comment' button found in the end of a post.
On clicking Comment button, Comment modal opens. You may write a comment associated with the post and click on 'Save Comment' button in the modal.