If Vivado doesn't understand something in your XDC files, it usually ignores it, but it also puts up an error or warning. If you look at them, you'll see error description and referebces to line numbers in XDC files. Using this information, it should be easy understand what is wrong in XDC.
After you uncomment things, you need to make sure the ports listed in XDC commands have the same names as the ports of the top entity of your design.