Nuclear weapons will continue to pose a risk to humanity unless countries fully adhere to the treaty that prohibits their testing, a senior UN official said at a press conference in New York on Friday.