Gen. Zahir Azimi, spokesman for the Ministry of Defense (MoD) said the Afghan soldiers were martyred in the past 48 hours.
He did not disclose further information regarding the exact location where the incident took place.
In the meantime, Gen. Zahir Azimi said at least 26 militants were killed and 23 others were injured following military operations led by Afghan armed forces.
Gen. Azimi further added that the operations were conducted in the past 48 hours in six different provinces where numerous suspected militants were also arrested and various types of weapons, ammunition and explosives were confiscatd.
The anti-government armed militant groups have not commented regarding the reports so far.