UNESCO will decide on the inclusion of the fortress at a meeting in Paris in 2008.
The fortress was ordered built by Emperor Franz Joseph I in 1809. It served as a bastion for as many as 10,000-12,000 soldiers at a time.
"This agreement proves that only together can the two sides of the Danube be successful in Europe," said Hungarian undersecretary at the Ministry of Education and Culture Gergely Arató at the signing ceremony.
Arató's counterpart Augustin Jozef Lang noted that the Slovak government had spent CZK 5 million on the structure in 2005 and 2006.
Komárno alderman Tibor Bastrnák said his city had seen the tourism potential in the fortifications shared with Komárom and had purchased the Old Castle and the New Castle from the Slovakian Defense Ministry for CZK 40 million four years earlier.
Komárom János Zatykó said the aim of developing the site was not only to preserve a historically important place, but to create a venue for exhibitions and events which demonstrate the area's history, the soldier's life and the culture of war.
The fortress at Komárom and Komárno was started in 1809 and completed in 1877. The construction involved some 2,000 stone artisans and 10,000 other labourers. From the end of WWII until 1991, the fortifications were used by the former Soviet Army.
The World Heritage List programme was founded with the Convention Concerning the Protection of World Cultural and Natural Heritage, which was adopted by the General Conference of UNESCO on November 16, 1972. Since then, 812 sites have been included on the list. Hungary became a participant in the programme in 1985.
Cultural sites in Hungary already included on UNESCO's World Heritage List include the view of Budapest along the Danube, the Castle District, historic Andrássy Avenue, the area around Fertö, or Neusiedlersee, on Hungary's border with Austria, the Hortobágy National Park, better known as the "Puszta" in Hungarian, the Benedictine Abbey of Pannonhalma and the famous Tokaj wine region. On UNESCO's World Heritage List of natural wonders are the caves of Aggtelek, which Hungary shares with Slovakia.