Current sheets in magnetic configurations with singular X-lines