Singapore and Malaysia reached an agreement to end their months-long airspace dispute, the transport ministers of the two neighboring countries said in a joint statement on Saturday.