Agreed, I was focussing more on the not tactically advantageous, rather than ascribing an honour code per se.
It is generally a good idea to agree weapons beforehand, it helps keep the battlefield survivable. The 20th century wasn't known for it's 'honour' but WW2 combatants did refrain from using chemical weapons for example, and nukes were never used in the cold war and it's proxy battles. I'd label that as part of an honour code? I'm not making the case too forcefully though.