The following oath is taken by all personnel inducted into the armed forces of the United States, as found in the US Code, Section 502.
I, _________, do solemnly swear (or affirm) that I will support and defend the Constitution of the United States against all enemies, foreign and domestic; that I will bear true faith and allegiance to the same; and that I will obey the orders of the President of the United States and the orders of the officers appointed over me, according to regulations and the Uniform Code of Military Justice. So help me God.
As you can see, the first phrase allows for a non-religious declaration (affirming instead of swearing) of the text. But what about the last sentence? Can an atheist, polytheist, spiritist etc refuse to say this phrase?