Here is the function that removes empty &nbsb; paragraphs within the content. This will automatically remove all the empty lines before outputting content.
You can place it in functions.php but remember when you update the theme, this function will be gone.
add_filter('the_content', function($content) {
$content = force_balance_tags($content);
return preg_replace('/<p>(?:\s| )*?<\/p>/i', '', $content);
}, 10, 1);