"Standing in a line" simply means that that is the shape they are making. It could be a police line-up, maybe they're standing aside against a wall so that a large vehicle can squeeze past, perhaps they are part of a living sculpture.
"Standing in line" (
AmE) = "queuing" (
BrE) = "waiting for their turn"
Standing in
a line (
AmE) = Standing in
a line (
BrE)