Strip leading whitespace before checking if a statement looks like a…

Authored by cactus.