No, there is no /inc or /dec functionality working with files.

You must keep these values available in variables or hash tables which do have /inc and /hinc commands respectively; these can then be written to file.