No but you could add comments in your json like
// This is a comment
And store this commented json in your code repository (git or whatever). Note that the comment won't be stored in elasticsearch itself. So if you GET
the _mapping
back, comments will have been removed.