Just don't try this on Ryan Air. A good friend got stuck at the airport on a Sunday night after being denied boarding because he waited out the standing line sitting on a bench right by the gate.
As soon as the last person standing walked through the checkpoint the gate crew closed the gate -- and completely ignored my friend when he showed up 10 seconds later.