From the Super Mario Wiki
A Vanishing Block is a block that appears in Super Mario Advance 4: Super Mario Bros. 3's World-e. It appears in one level, A Sky-High Adventure. Though the block is entirely solid and inert, it is invisible under normal circumstances. To make it visible, Mario must use the Tanooki Suit's (hidden in the level) power to become a statue.