True.
When you do it "in the face of the enemy", your commander will have you lined up against a wall and shot.
Did Bergdahl do that?
well that's not true.
Can you "lined up" a single individual?
lol, true, but ultimately it doesn't matter. there is no real circumstance where a prisoner would be 'lined up' and shot by their commander, or by order of their commander.