NEW YORK - Parties to a U.N. treaty banning nuclear weapons warned of the "existential threat to humanity" posed by nuclear arms and reaffirmed their commitment to the "prohibition and complete elimination" of the weapons in a declaration they adopted at the end of their five-day meeting on Friday.