The thing is...it is not by lines... but by words
1. Go to formatting.php in the wp-includes folder
2. Look for the group of code as
function wp_trim_excerpt($text) {
if ( '' == $text ) {
$text = get_the_content('');
$text = strip_shortcodes( $text );
$text = apply_filters('the_content', $text);
$text = str_replace(']]>', ']]>', $text);
$text = strip_tags($text);
$excerpt_length = apply_filters('excerpt_length', 55);
$words = explode(' ', $text, $excerpt_length + 1);
if (count($words) > $excerpt_length) {
array_pop($words);
array_push($words, '[...]');
$text = implode(' ', $words);
}
}
return $text;
}
3. If you see $excerpt_length = apply_filters('excerpt_length', 55); , change the text length which by default is 55 to the number of words you prefer.