Thailand's Constitutional Court ruled on Friday that a general election held last month was invalid, a spokesman said, deepening a political stalemate following weeks of opposition protests.