If you use the [`comment_class`](http://codex.wordpress.org/Function_Reference/comment_class) function to add classes to each comment, comments by the post's author can be styled via the `bypostauthor` class.

You can alternately match the comment ID against the post ID:

    if( $comment->user_id === $post->post_author ) {
        // is author comment
    }