The pledge should be voluntary. I always stand and recite it when it's appropriate to do so, and I intentionally leave out the "under God" part due to me being non-religious. 

My patriotism doesn't require me to believe in God, but I have mad respect for this country and its superior laws, and have no problem standing in respect.