Adding the following lines of code to your theme’s functions.php file will let you enable threaded comments in WordPress.

Snippet Source/Credit: WP-Snippets.com