diff --git src/wp-includes/comment-template.php src/wp-includes/comment-template.php
index e97229f..dbb8ccd 100644
--- src/wp-includes/comment-template.php
+++ src/wp-includes/comment-template.php
@@ -2165,6 +2165,10 @@ function wp_list_comments( $args = array(), $comments = null ) {
  * @param int|WP_Post $post_id Post ID or WP_Post object to generate the form for. Default current post.
  */
 function comment_form( $args = array(), $post_id = null ) {
+	//Don't show comment form if post status is not publish.
+	if( 'publish' !== get_post_status( $post_id ) )
+		return;
+	
 	if ( null === $post_id )
 		$post_id = get_the_ID();
 
