When writing the title of a national anthem, the consensus across major style guides (AP, Chicago, MLA) is simple: capitalize the title but omit quotation marks. Treat it as a proper noun—an official designation—rather than a shorter work like a poem or song in a collection.
National anthems function as official state symbols, akin to the names of laws, treaties, or government bodies. They are capitalized as proper nouns, but quotation marks are reserved for shorter works (e.g., a specific song on an album, a chapter in a book).
If you're compiling a formal discography or repertoire list, some styles (notably Chicago) may italicize the title: The Star-Spangled Banner. But even then, quotation marks remain non-standard.
Bottom line: capitalize confidently, skip the quotes.