The simple answer is no.  For example, a code

aaa = 7
  -1
assert aaa == 6

 will fail.  See more details about new lines in the Groovy Language Specification (section 3.11.1 Significant Newlines).