Most code structure nazis cringe at the thought of this, I'm sure
For good reason. It's much harder to add/delete lines of code when the one-command-per-line rule is violated.
It is possible to create additional files in a sketch directory, and move tested/utility/related functions out of the main sketch, to reduce the size of the sketch. This is the approach that libraries take.