Five Hizbul Mujahideen militants, including a top commander of the outfit, were killed in an encounter with security forces in Kulgam district of South Kashmir on Thursday, officials said.