1. Use an Ajax for for the comment form.
2. Make the controller action for the comment form to accept the Id of the Post your wish to insert the comment for.
You can use a form such as the one below:
@using (Ajax.BeginForm("PostComment", "Comment",
new { postId = item.PostId },
new AjaxOptions
{
HttpMethod = "GET",
InsertionMode = InsertionMode.InsertAfter,
UpdateTargetId = "comments-" + item.PostId,
OnSuccess = done();"
}))
{
<textarea name = "message"></textarea>
<div class="edit-buttons">
<input type = "submit" class="text-button" value = "Post" />
}
</div>
The postId is an Id the Action accepts. The item.PostId is the Model items in your View. You use it when you are using foreach to display your Posts.
Good luck.