If I ever told you I like apples: I lied.
or
If I ever told you I like apples; I lied.
English Language Learners Stack Exchange is a question and answer site for speakers of other languages learning English. It only takes a minute to sign up.
Sign up to join this communityThis needs to be a comma because the first part of the sentence ("If I ever told you I like apples") cannot stand on its own as a sentence; "I lied" is needed for it to make sense. This is called a 'dependent clause'.
If the two clauses were independent (they could stand on their own as sentences), then a semicolon would be needed. To use a comma between two independent clauses is known as 'comma splicing' and is considered grammatically incorrect.
Hope the background info helps.