Peaceful protest in school

Can a high school student get into any sort of trouble for choosing not to participate in saying the pledge of allegiance (not putting hand over heart and reciting the words)? I don't think they would say anything, but I'm not fully sure because in the case of a lot of negative attention from peers.