I know that you do it to prevent auto comment spam.
So, you dont have to edit comment.php file, just add captcha verification into comment post.