There is no definitive answer, as the decision ultimately comes down to personal preference. Some people may feel more comfortable making small edits to core files, while others may prefer to leave the files untouched.
Ultimately, the decision comes down to what you feel most comfortable doing.
If you’re feeling unsure about whether or not to make any edits to core files, it’s always a good idea to speak with an experienced WordPress developer. They can give you a better idea of the potential risks and benefits of any changes you make.
In the end, it’s up to you to decide whether or not to make any edits to core WordPress files. Just be sure to weigh the risks and benefits before making any decisions.