# Is it appropriate to edit excessive line breaks from code?

Some questions (2) have quite a few extra lines which are kind of unnecessary. I guess they could be attributed to "style" but in my opinion they make to more lines and less to readable code. For example:

if ($('.invalid').length === 0) { return 'valid'; } else { return 'invalid'; }  That's 8 lines of code that could be easier read if lines were joined. Specially with if/else statements (which usually tend to be quite large already) having an entire line just for a "{" seems a bit excessive to me. That could be reduced to something like this: if ($('.invalid').length === 0) {
return 'valid';
} else {
return 'invalid';
}


My question is would this be a valid edit if found in the future?