No. If you see the wiki page of the jet and see the operators, you will see Sri Lanka is not an operator. The Sri-Lankan Government has denied that any such matter came up in talks with the Pakistani officials however they added that they were still looking to purchase new fighters.
Quoting the Columbo Gazette:
The Government has denied reports that it has struck a deal with
Pakistan for the purchase of JF-17 Thunder fighter jets, The Hindu
“The matter did not even come up for discussion during the talks [with
the Pakistani government],” Karunasena Hettiarachchi, Defence
Secretary, told The Hindu , adding that his government was still
considering the purchase of fighter jets.
Terming the reports as “incorrect,” Mahishini Colonne, spokesperson of
the Ministry of Foreign Affairs, responded, saying that “if there
arises a requirement for Sri Lanka to procure aircraft of this nature,
in keeping with the policy of the Government of Sri Lanka to maintain
transparency, expressions of interest will be called for, from all
Some sections of the press have however speculated that deal was in fact on the table but Indian pressure forced the Sri-Lankans to reconsider.
Quoting the diplomat:
According to The Indian Express, the Sri Lankan government, led by
President Maithripala Sirisena, canceled its plans to purchase the
JF-17s after a “diplomatic missive” from New Delhi suggesting that
Colombo should refrain from adding these aircraft to its fleet.