Hm… where in the file did you put it? It needs to go under an “[env:]” block which describes the board settings - framework, serial upload and monitor speeds, etc. And you didn’t create a new platformio.ini, did you? As one should already exist.
i.e.