boards.txt compile error when uploading

Property line '?' in file C:\Program Files (x86)\Arduino\hardware\arduino\avr\boards.txt is invalid

Error compiling for board Arduino/Genuino Uno.

I am not sure what this error means. There are no ? marks in the text file and I cannot tellwhat Property line the error is referring too because it does not give a line number. The last part of this list is what I added to the boards.txt file before my compile stopped working.
I am running Ardunion 1.6.12 on Windows 10. Intel i5
Here is my boards.txt file. I've tried clearing whitespace in Notepad++ but
I am not sure what is wrong with the file to give me this error. I had to attach a text file because of the word count...Here is the boards.txt file:

##############################################################

bt.name=Arduino BT

bt.upload.tool=avrdude
bt.upload.protocol=arduino
bt.upload.speed=19200
bt.upload.disable_flushing=true

bt.bootloader.tool=avrdude
bt.bootloader.low_fuses=0xff
bt.bootloader.unlock_bits=0x3F
bt.bootloader.lock_bits=0x0F

bt.build.f_cpu=16000000L
bt.build.board=AVR_BT
bt.build.core=arduino
bt.build.variant=eightanaloginputs

Arduino BT w/ ATmega328

-----------------------

bt.menu.cpu.atmega328=ATmega328
bt.menu.cpu.atmega328.upload.maximum_size=28672
bt.menu.cpu.atmega328.upload.maximum_data_size=2048

bt.menu.cpu.atmega328.bootloader.high_fuses=0xd8
bt.menu.cpu.atmega328.bootloader.extended_fuses=0x05
bt.menu.cpu.atmega328.bootloader.file=bt/ATmegaBOOT_168_atmega328_bt.hex

bt.menu.cpu.atmega328.build.mcu=atmega328p

Arduino BT w/ ATmega168

-----------------------

bt.menu.cpu.atmega168=ATmega168
bt.menu.cpu.atmega168.upload.maximum_size=14336
bt.menu.cpu.atmega168.upload.maximum_data_size=1024

bt.menu.cpu.atmega168.bootloader.high_fuses=0xdd
bt.menu.cpu.atmega168.bootloader.extended_fuses=0x00
bt.menu.cpu.atmega168.bootloader.file=bt/ATmegaBOOT_168.hex

bt.menu.cpu.atmega168.build.mcu=atmega168

##############################################################

uview.name=MicroView
uview.upload.tool=avrdude
uview.bootloader.tool=avrdude
uview.upload.protocol=arduino
uview.upload.maximum_size=32256
uview.upload.speed=115200
uview.bootloader.low_fuses=0xff
uview.bootloader.high_fuses=0xde
uview.bootloader.extended_fuses=0x05
uview.bootloader.path=optiboot
uview.bootloader.file=optiboot_atmega328.hex
uview.bootloader.unlock_bits=0x3F
uview.bootloader.lock_bits=0x0F
uview.build.mcu=atmega328p
uview.build.f_cpu=16000000L
uview.build.core=arduino
uview.build.variant=uview

Thanks in advance for any suggestions.

boardstxterror.txt (26.4 KB)

I believe this error is caused by boards.txt having the incorrect file encoding. Save it as UTF-8, restart the Arduino IDE and the problem should be solved.

mechqueen:
Thanks in advance for any suggestions.

I suggest switching from 1.6.12 to 1.8.3 (or whatever is current. It is a good idea to delete or rename the Arduino15 directories before the install:
Arduino IDE 1.6.5r5 and previous: C:\Users(username)\AppData\Roaming\Arduino15
Arduino IDE 1.6.6 and later: C:\Users(username)\AppData\Local\Arduino15

Arduino:1.8.8 (Windows 10), Tarjeta:"Arduino/Genuino 101"

Error reading file (C:\Users\María\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.21\platform.txt:0): Invalid line format, should be 'key=value'

Error compilando para la tarjeta Arduino/Genuino 101.

Este informe podría contener más información con
"Mostrar salida detallada durante la compilación"
opción habilitada en Archivo -> Preferencias.

I'm sorry that this is in spanish, but can anyone help me with this? I have no idea what this means and how to solve this.

Any help? It's really important.

Mgoloubev:
Error reading file (C:\Users\María\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.21\platform.txt:0): Invalid line format, should be 'key=value'

There's something wrong with the file C:\Users\María\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.21\platform.txt. Did you edit that file?