If is_single in functions.php

Generally it’s not a common way to strip wpautop with remove_filter as it is native functionality of WordPress.

But if you want to : place the remove_filter() function right before the the_content() function on the pages/templates where you don’t need the wpautop

<?php remove_filter( 'the_content', 'wpautop' ); the_content();?>