When saving the Items file if there is an error it is logged and says the file / changes are ignored. The system knows what the issue is.
Please use code fences when posting configuration here. Spaces matter..
How to use code fences - Tutorials & Examples - openHAB Community