WASHINGTON — Alaska and Arizona on Friday became the latest states to allow same-sex marriage, bringing the number of states that let gay and lesbian couples wed to 31.

Alaska joined that group after the Supreme Court refused to block a ruling that struck down the state’s ban on same-sex marriage. The Supreme Court’s order was terse and gave no reasons.