The comments were the most positive in months from top officials on the talks between Israel and Hamas.