Change these values to 0 and save the file, now exit your text editor. There may even be something in the game later on that allows one to keep weapons indefinitely, but I still haven't found it. I know there are a couple of skills that make melee weapons decay at a slower rate and make repairs have a chance to not consume repair cycles, but I didn't want to have to constantly worry about not fighting zombies just in order to save my weapons in case I may need them later. Weapons could only be repaired a few times and then they were broken forever - I found this was making me have less fun with the game, so, I fixed it. One of the things that really bummed me out about Dying Light was that there seemed to be no way to keep a weapon I liked for very long.
As of 2 Feb, Techland issued a statement saying that the patching out of this and similar mods was an unintended side effect and will be restoring this functionality as soon as they can.)
(Edit: This has been patched out as of 1.2.1.