From Dark and Darker Wiki
< Dmg
XP is based off the enemy killed not the weapon. So if you kill something with it then yes.