in google script editor
function foo(){ . . . // more than 100 lines . . }
clicking on { or } highlights both in red
with less than 100 lines both
It doesn't effect the code being run, see issue 2237 in the issue tracker :
Terminating curly bracket in function definition won't turn green