別に + [verb ない-form] 別に + [i-adj 〜い → 〜く] + ない 別に + [na-adj] + じゃない / ではない 別に + [noun] + じゃない / ではない 別に (alone, as a reply)
別に in front of a negative means "not particularly", "not really": it plays down whatever follows. The verb or adjective after it is negative – a ない-form, an い-adjective in 〜くない, or じゃない after a noun or な-adjective.
Without the negative, 別に is an ordinary adverb meaning "separately".
As a reply, 別に stands alone and the negative is understood. It brushes the question off, and said flatly it sounds cold, close to English "nothing" or "whatever". To a teacher or a customer, give the full polite sentence instead.
With わけじゃない at the end, 別に denies a reason or a motive the listener might read into something.